package com.atguigu.base.synvslock;

public class Main {
    public static void main(String[] args) {
       SyncVSLock syncVSLock = new SyncVSLock();
       new Thread(new Runnable() {
           @Override
           public void run() {
               syncVSLock.m1();
           }
       },"A").start();


       new Thread(new Runnable() {
           @Override
           public void run() {
               syncVSLock.m2();
           }
       },"B").start();

       new Thread(new Runnable() {
           @Override
           public void run() {
               syncVSLock.m3();
           }
       },"C").start();

    }
}
